

import java.util.Scanner;
public class Stu_2024_04_13 {
    Scanner sc = new Scanner(System.in);

    //str为要查找的字符串
    String str = sc.next();

    /********** Begin **********/
    //创建数组   arr  给数组赋值 {"张三","张三丰","张无忌","王二麻子","张富贵"}

    String[] arr = {"张三","张三丰","张无忌","王二麻子","张富贵"};
    //arr = {"张三","张三丰","张无忌","王二麻子","张富贵"};

        for(int i = 0;i<=4 ;i++){
            if(str == arr[i]) System.out.print(arr[i]+"在数组的第"+i+"个位置");
    }
}
